package org.ryr.demo.service;

import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.ryr.demo.mapper.DemoMapper;
import reactor.core.publisher.Flux;

@Slf4j
@Service
public class DemoService {

    @Resource
    private DemoMapper demoMapper;

    public Flux<?> get() {
        log.info("get demo");
        return demoMapper.get();
    }

}
